<?php

$ydaoju = $game->dj_get_sys($arr_data->djid);
$daoju = $game->dj_get_player($arr_data->djid);
//$chushou = $game->create_url("cmd=djinfo&cmd2=djinfo&djid=$djid");
$player = $game->player_get_uinfo();
$djhtml = '';

if ($daoju){
    $djhtml =<<<HTML
    <br/>
    <form>
    <input type="hidden" name="cmd" value="djinfo">
    <input type="hidden" name="canshu" value="chushou">
    <input type="hidden" name="djid" value="$arr_data->djid">
    出售数量：<br/>
    <input type="number" name="djcount"><br/>
    出售单价：<br/>
    <input type="number" name="pay">
    <input type="submit" value="出售">
    </form>
HTML;

}
if (!$daoju) {
    $daoju=(object)['djsum'=>0];
}

$outhtml = "道具名称：{$ydaoju->djname}<br/>
道具数量:$daoju->djsum<br/>
道具价格：{$ydaoju->djyxb}灵石<br/>
道具说明：<br/>
{$ydaoju->djinfo}
<br/>
{$djhtml}
<br/>
{$变量_系统->链接_返回游戏}<br/>";

echo $outhtml;




